package cn.wolfcode.wolf2w.job.task;

import cn.wolfcode.wolf2w.business.api.RemoteStrategyService;
import cn.wolfcode.wolf2w.common.security.annotation.InnerAuth;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("StrategyTask")
public class StrategyTask {

    @Autowired
    private RemoteStrategyService remoteStrategyService;

    public void statisRank(){
        remoteStrategyService.statisRank();
        System.out.println("排行榜统计完成");

    }

    public void themeCondition(){
        remoteStrategyService.statisThemeCondition();
        System.out.println("条件导航统计成功");
    }
    //统计数字持久化
    public void statisHashPersistence(){
        remoteStrategyService.statisHashPersistence();
        System.out.println("统计数字持久化成功");
    }

}
